// 清关
import request from "@/utils/https/requests";
// 列表
export function customsClearanceList(data: any) {
  return request({
    url: "/customsClearance/list",
    method: "post",
    data,
  });
}
// 添加
export function postAddCustomsClearance(data: any) {
  return request({
    url: "/customsClearance/postAdd",
    method: "post",
    data,
  });
}
// 修改
export function postModCustomsClearance(data: any) {
  return request({
    url: `/customsClearance/postMod/${data.id}`,
    method: "post",
    data,
  });
}
// 详情
export function customsClearanceDetail(id: string) {
  return request({
    url: `/customsClearance/detail/${id}`,
    method: "post",
  });
}
// 删除
export function postDeleteCustomsClearance(id: string) {
  return request({
    url: `/customsClearance/postDelete/${id}`,
    method: "post",
  });
}

// 审批流程
export function customsClearanceAuditAction(data: any) {
  return request({
    url: '/customsClearance/auditAction',
    method: "post",
    data,
  });
}
